<template>
  <div class="issue">
    <h4 class="is-title">常见问题</h4>
    <div class="text" v-for="(item, index) in issue" :key="index">
      <span>{{ item.question }}</span>
      <p>{{ item.answer }}</p>
    </div>
  </div>
</template>

<script>
export default {
    name:'Issue',
    props:["issue"],
    data(){
        return{
            
        }
    }
};
</script>

<style lang="less" scoped>
.issue {
  width: 95%;
  background-color: #fff;
  border-radius: 16px;
  margin: 0 auto;
  margin-bottom:10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  .is-title {
    display: flex;
    justify-content: center;
    align-items: center;
    &:before,
    &:after {
      content: "";
      width: 40px;
      border-bottom: 1px solid #888;
      margin: 0 16px;
    }
  }
  .text {
    width: 90%;
    margin: 10px auto;
    p:nth-child(2) {
      color: #888;
      margin-top: 6px;
    }
  }
}
</style>